﻿
namespace TotalSystems.DataAccess.Store
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.ComponentModel.DataAnnotations;
    using System.Linq;
    //using System.ServiceModel.DomainServices.Hosting;
    //using System.ServiceModel.DomainServices.Server;


    // The MetadataTypeAttribute identifies STR_StoreDocumentDetailMetadata as the class
    // that carries additional metadata for the STR_StoreDocumentDetail class.
    [MetadataTypeAttribute(typeof(STR_StoreDocumentDetail.STR_StoreDocumentDetailMetadata))]
    public partial class STR_StoreDocumentDetail
    {

        // This class allows you to attach custom attributes to properties
        // of the STR_StoreDocumentDetail class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class STR_StoreDocumentDetailMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private STR_StoreDocumentDetailMetadata()
            {
            }

            public decimal ACC_Ac_ID_fk { get; set; }

            public ACC_AccountingCode ACC_AccountingCode { get; set; }

            public short ACC_Fy_ID_fk { get; set; }

            public int PUB_User_ID_fk { get; set; }

            public decimal STR_Sd_ID_fk { get; set; }

            public bool STR_Sdd_Active { get; set; }

            public Nullable<decimal> STR_Sdd_AdditionalValueTotal { get; set; }

            public Nullable<double> STR_Sdd_BadCount { get; set; }

            public string STR_Sdd_DeleteDate { get; set; }

            public Nullable<double> STR_Sdd_DeliverdCount { get; set; }

            public decimal STR_Sdd_ID { get; set; }

            public Nullable<double> STR_Sdd_InCount { get; set; }

            public double STR_Sdd_InputCount { get; set; }

            public Nullable<decimal> STR_Sdd_InputValueTotal { get; set; }

            public bool STR_Sdd_IsExpand { get; set; }

            public Nullable<double> STR_Sdd_LeakageCount { get; set; }

            public string STR_Sdd_ModifyDate { get; set; }

            public string STR_Sdd_Note { get; set; }

            public Nullable<decimal> STR_Sdd_OpututValueTotal { get; set; }

            public double STR_Sdd_OutputCount { get; set; }

            public Nullable<decimal> STR_Sdd_RegulationValue { get; set; }

            public Nullable<double> STR_Sdd_RequestCount { get; set; }

            public Nullable<decimal> STR_Sdd_RequsetValueTotal { get; set; }

            public double STR_Sdd_ReturnCount { get; set; }

            public Nullable<decimal> STR_Sdd_ReturnValueTotal { get; set; }

            public Nullable<double> STR_Sdd_SaleCount { get; set; }

            public Nullable<decimal> STR_Sdd_SaleValueTotal { get; set; }

            public string STR_Sdd_SerialCode { get; set; }

            public string STR_Sdd_Temp { get; set; }

            public Nullable<short> STR_Sdd_Type { get; set; }

            public STR_StoreDocument STR_StoreDocument { get; set; }

            public STR_Stuff STR_Stuff { get; set; }

            public string STR_Stuff_ID_fk { get; set; }
        }
    }
}
